Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Java Tutorial
1) 2D Graphics
2) Ant
3) Apache Common
4) Class Definition
5) Collections
6) Data Type
7) Database
8) Design Pattern
9) Development
10) EJB3
11) Email
12) File
13) Generics
14) Hibernate
15) Internationalization
16) J2EE Application
17) J2ME
18) JPA
19) JSP
20) JSTL
21) JUnit
22) Language
23) Log
24) Network
25) Operators
26) PDF
27) Reflection
28) Regular Expressions
29) Security
30) Servlet
31) Spring
32) Statement Control
33) Swing
34) Swing Event
35) SWT
36) SWT 2D Graphics
37) Thread
38) Web Services SOA
39) XML
PDF
1) A custom pagesize
2) Add a new page
3) Add a Paragraph to a document
4) Add Annotation
5) Add bookmark
6) Add Certificate to Pdf document
7) Add chapter to Document
8) Add content to table cell
9) Add image to an existing Pdf document
10) Add JPG image to Pdf document
11) Add more space to list
12) Add page event listener to PDF writer
13) Add paragraph of first line indented to a table cell
14) Add Paragraph to section
15) Add paragraph to table cell with alignment setting
16) Add section to chapter
17) Add shape to an existing Pdf document
18) Add SimpleColumn to MultiColumnText
19) Add Symbols to pdf document
20) Add table cell to table
21) Add Template
22) Add text to an existing Pdf document
23) Add text to section
24) Add XMP metadata automatically, based on the PDF metadata
25) afm font
26) All kinds of fonts
27) Alphabetical List
28) Anchor with reference
29) Annotated Images
30) Auto Fill Empty cells
31) Background of a chunk
32) Barcode 3 of 9 extended
33) Barcode CODE128_RAW
34) Barcode CODE128_UCC
35) Barcode EAN8
36) Barcode Interleaved 2 of 5
37) Barcode PLANET
38) Barcode Postnet
39) Barcode SUPP5
40) Barcode UPCA
41) Barcode UPCE
42) BarcodeCodabar
43) BarcodeEAN Without Guard bars
44) BarcodePDF417
45) BaseFont createFont(BaseFont HELVETICA,BaseFont WINANSI, BaseFont NOT_EMBEDDED)
46) Begin text and end text
47) Black and White
48) Cell border color and background color
49) Change properties of Barcode128
50) Change table cell background color
51) Changes the URL of an AcroForm
52) Chunk in bold
53) Chunk NEWLINE
54) Chunk Text Render Mode
55) Chunk text with underline
56) Chunk Underline
57) Chunk with action
58) Chunk with anchor
59) Clip a region
60) Close a path
61) Close Path Fill Stroke
62) Close Path Stroke
63) Color stroke and color fill
64) Colored Paragraphs
65) Column Properties
66) Columns Right To Left
67) ColumnText hasMoreText
68) ColumnText NO_MORE_COLUMN
69) Combine the different PDFs with forms and fields into one
70) Compress Pdf document
71) Convert java awt Image to com lowagie text Image
72) Copy a selection of pages to new PDF files
73) Copy book mark
74) Copy three PDF files into one PDF
75) Create a template
76) Create an Ordered list
77) Create an Unordered list
78) Create and use PdfGState
79) Create and use PdfTextArray
80) Create Barcode 128
81) Create Chapter and add chapter to Section
82) Create chunk from Image
83) Create chunk from string
84) Create Column With SimpleColumn
85) Create Empty page
86) Create font
87) Create font from pfm file
88) Create Graphics2D from PdfTemplate
89) Create Pdf document from JTable
90) Create PdfImportedPage
91) Create PdfLayer
92) Create PdfReader
93) Create Phase from chunk
94) Create Phrase from a chunk
95) Create RTF file and htm file
96) Create section from Chapter
97) Create Table and set total width
98) Create your first Pdf document with Java
99) Creates a PDF file that prints after opening
100) Custom list symbol
101) Custom margins
102) Decrypt Pdf file
103) Degraded printing
104) Delete columns
105) Display title, two page left
106) Document level JavaScript
107) Draw a circle with PdfContentByte
108) Draw an ellipse
109) Draw arc
110) Draw curve
111) Draw line through
112) Draw more circles
113) Draw rectangle
114) Draw round rectangle
115) Draw shape
116) Draw shape with PdfContentByte
117) Draw Unicode string
118) Draw with Graphics2D
119) Element ALIGN_JUSTIFIED
120) Embeded font
121) Embeded TrueType Font
122) Encrypt the file with PdfStamper
123) EoFillStroke method
124) Eps viewer
125) Event for closing
126) Extends PdfPageEventHelper
127) Field Actions
128) Fill a star shape
129) Fill AcroFields
130) Fill AcroForm
131) Fill an arc
132) Fill shape
133) Fill Stroke
134) Finish a stroke
135) Font Metrics
136) Font supporting Unicode
137) Font UNDERLINE
138) Full Compression
139) Generates a file with a launch action
140) Generates a PDF file (version 1 6) with the text Hello World
141) Generates a PDF file with a table
142) Generates a PDF, RTF and HTML file with the text Hello World
143) Get Document Information from PdfReader
144) Get DpiX and DpiY for tiff image
145) Get Encryption Information
146) Get font name
147) Get Frame from Animated Gif
148) Get Image height and width
149) Get meta data from pdf document
150) Get Pdf document information as a map
151) Get Pdf document size
152) Get Pdf metadata
153) Get width and height of tiff image
154) Gif and jpg images
155) Go to page 2
156) Greek List
157) Grouped layers
158) create a PDF report from a LaTeX template file
159) HtmlParser from iText
160) Image Absolute Position
161) Image Alignment
162) Image is scaled
163) Image Mask
164) Image transition
165) Image with 360 Dpi scaled
166) Image Wrapping
167) Implements PdfPCellEvent
168) Implements SplitCharacter
169) Import page
170) Import pages as an Image
171) Inspects a PDF file
172) Internal anchors
173) Japanese font
174) JTextPane To Pdf
175) Jump with PdfAction
176) Korea font
177) Line Dash
178) Line pattern
179) Link to a Pdf file
180) Literal PdfContentByte
181) Load bmp image
182) Load gif image
183) Load JPG image
184) Load png image
185) Load tiff image
186) Load wmf image
187) Local Destination
188) Loop through all rows from Table
189) Mirrored margins
190) Miter Limit
191) Multiple-page Tiff
192) Named actions
193) Nested Layers
194) Nested Pdf Table
195) New Font(Font COURIER, 10, Font BOLD)
196) Not Embedded font
197) Not printed layer
198) Not scaled Image
199) Only visible if the zoom factor is between 75 and 125%
200) otf font
201) Ouput selected rows from a table
202) Output to console with PdfWriter
203) Page Labels
204) Page open close action
205) PageSize LETTER
206) PageSize LETTER rotate()
207) Paint line
208) Paint rectangle border
209) Paragraph Alignment
210) Paragraph Indentation Left
211) Paragraph Indentation Right
212) Paragraph Outlines
213) Paragraph Positions
214) Paragraph Spacing After
215) Paragraph Spacing Before
216) Paragraph text
217) Parsing Html
218) Parsing Html Snippets
219) Pattern Matrix for an image
220) Pattern of ellipses
221) Pause and resume a writer
222) Pdf and servlet
223) Pdf document footer
224) Pdf events
225) PDF file with hyphenated text
226) Pdf Outline
227) Pdf Page Event Helper
228) Pdf Pattern Painter
229) Pdf SimpleBookmark
230) Pdf Table Split Vertically
231) Pdf Table with Absolute Width
232) Pdf Table Without Borders
233) Pdf Version 1
234) PDF with an unsigned signature field
235) PdfAction javaScript
236) PdfAnnotation and Javascript
237) PdfContentByte LINE_CAP_BUTT
238) PdfContentByte LINE_CAP_PROJECTING_SQUARE
239) PdfContentByte LINE_CAP_ROUND
240) PdfContentByte LINE_JOIN_MITER
241) PdfContentByte TEXT_RENDER_MODE_STROKE
242) PdfDictionary
243) PdfShading simpleAxial
244) PdfShading simpleRadial
245) PdfTransparencyGroup
246) PdfWriter AllowCopy PdfWriter AllowPrinting
247) PdfWriter HideMenubar PdfWriter CenterWindow
248) PdfWriter HideToolbar PdfWriter PageModeUseThumbs
249) PdfWriter HideWindowUI PdfWriter FitWindow
250) PdfWriter NO_SPACE_CHAR_RATIO
251) PdfWriter PageLayoutOneColumn
252) PdfWriter PageLayoutTwoColumnLeft
253) PdfWriter PageLayoutTwoColumnRight
254) PdfWriter PageLayoutTwoPageLeft
255) PdfWriter PageLayoutTwoPageRight
256) PdfWriter PageModeUseOutlines PdfWriter PageLayoutTwoColumnRight
257) PdfWriter PageModeUseThumbs
258) PDFXConformance
259) Position and resize an image
260) PRTokeniser
261) Radio Group
262) Read Pdf document to string
263) Read PDF File to retrieve the bookmarks
264) Read PDF to add some metadata
265) Red and Yellow
266) Regular Columns
267) Remote Goto
268) Rename AcroFields
269) Restore State
270) Right To Left Example
271) RomanList, lower case
272) Rotate 30 degrees
273) Rotate 45 degrees
274) Rotate a table cell
275) Save paint state
276) Scale Absolute
277) Scale Chunk
278) Scale Percent
279) Scaled Image with no padding
280) Set alignment for Table cell
281) Set backgroundcolor to cornflower blue
282) Set bookmark title
283) Set Character Spacing
284) Set Column span
285) Set Column text
286) Set ContentType and transfer Pdf document to client
287) Set leading for table cell
288) Set left, right, top and bottom padding for table cell
289) Set line width
290) Set LineCap
291) Set Local Destination for chunk
292) Set meta data to pdf document
293) Set padding for table cell
294) Set page margin
295) Set page size to LETTER, the orientation to Landscape
296) Set PageEvent to Pdf document
297) Set section Indentation Left
298) Set shape color
299) Set Spacing BeforeAfter a table
300) Set table cell fixed height
301) Set table cell minimun height
302) Set table cell no wrap
303) Set table column width
304) Set table total width
305) Set text above for BarcodeEAN
306) Set Text Rendering Mode
307) Set up PdfDestination
308) Set Userunit
309) Set Viewer Preferences
310) Set width percentage
311) Set Word Spacing
312) Shape star
313) Show hide text with layer
314) Skew a chunk
315) Skip header
316) Slide Show
317) Some information on the page size
318) Split Table Rows
319) Spot Color
320) Square pattern
321) Stamping PDF file
322) Table Aligned
323) Table alignment
324) Table cell ascender and descender
325) Table cell without border
326) Table Column Widths
327) Table header with column span
328) Table with Absolute Columns Width
329) Tagged PDF
330) Text alignment
331) Text Annotations
332) Text is added at an absolute position and the stream with the content of a page is not compressed
333) Text Matrix
334) Text on layer
335) Text with an absolute position using java awt Graphics2D object
336) Text with line above
337) Transition and Duration
338) TrueType font
339) Update a Pdf document
340) Upper case RomanList
341) Use Barcode39
342) Use BarcodeEAN
343) Use ChapterAutoNumber
344) Use DefaultFontMapper
345) Use different colors to fill
346) Use java awt Font to draw strings
347) Use PdfSchema to update Meta data
348) Use SimpleNamedDestination
349) Use SpotColor
350) Use Table to create Report header
351) Use TextRise of a chunk to create supscript and subscript
352) Use truetype font to draw unicode string
353) Using ColumnText
354) Using Layer
355) Warn you before printing the document
356) We need 4 cells with rowspan 2
357) What if table is larger than the page
358) Width of a chunk
359) Write Selected Rows in a Table
360) ZapfDingbatsList
361) Zapfdingbatsnumberlist